package com.wulian.dao;

import com.wulian.entities.Doctor;
import com.wulian.entities.Register;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegisterDao {
    void addRegister(Register register);
    void updateRegister(int id);
    Register selRegister(int id);
    List<Register> selAllRegister(int id);
    List<Register> getAllByPage(@Param("pageNum")Integer num, @Param("pageSize")Integer size);
    void delAllRegister();
}
